/*
 * my_globals.h
 *
 *  Created on: Oct 2, 2011
 *      Author: bryan
 */

#pragma once

#include <math.h>

#define TIME 1 // milliseconds

/* WIDTH and HEIGHT are in meters */

#define WINDOW_WIDTH  900
#define WINDOW_HEIGHT 500


#define WIDTH 100
#define HEIGHT 100

#define WEIGHT 2


const float radio_ = 6;

const float g = -9.80*WEIGHT;
const float restitution = 0.25;


inline float sec_to_ms(float number){
	return (number/1000.0);
}

inline float round2(float val){//2 decimals
	return floor(val * 100 +  0.5) / 100;
}

